﻿<Window x:Class="Table.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
    <FlowDocument>
        <Table BorderBrush="Gray" BorderThickness="3">
            <TableRowGroup>
                <TableRow>
                    <TableCell Background="Gray">
                        <Paragraph>Car Maker</Paragraph>
                    </TableCell>
                    <TableCell Background="Gray" ColumnSpan="3">
                        <Paragraph>Models</Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell RowSpan="2" Background="AntiqueWhite">
                        <Paragraph>Renault</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>Laguna</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>1.9dCi</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>Gray</Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell Background="BlanchedAlmond">
                        <Paragraph>Espace</Paragraph>
                    </TableCell>
                    <TableCell Background="BlanchedAlmond">
                        <Paragraph>2.2</Paragraph>
                    </TableCell>
                    <TableCell Background="BlanchedAlmond">
                        <Paragraph>Black</Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell RowSpan="2" Background="AntiqueWhite">
                        <Paragraph>Audi</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>A4</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>1.9 Tdi</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>Blue</Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell Background="BlanchedAlmond">
                        <Paragraph>A6</Paragraph>
                    </TableCell>
                    <TableCell Background="BlanchedAlmond">
                        <Paragraph>2.5 Tdi</Paragraph>
                    </TableCell>
                    <TableCell Background="BlanchedAlmond">
                        <Paragraph>Black</Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell Background="AntiqueWhite">
                        <Paragraph>Porsche</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>911 Carrera 4</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>3.6</Paragraph>
                    </TableCell>
                    <TableCell Background="AliceBlue">
                        <Paragraph>Red</Paragraph>
                    </TableCell>
                </TableRow>
            </TableRowGroup>
        </Table>
    </FlowDocument>
</Window>
